
import service from '../utils/axios.js'

export const login = (data) => {
  return service.post('/api/h5/auth/login', data)
}

export const getStore = (data) => {
    return service.get('/api/h5/mall/index',{params:data})
}

export const getDetail = (data) => {
    return service.get('/api/h5/mall/dateDetails',{params:data})
}

export const getStatistics = (data) => {
    return service.get('/api/h5/mall/countsItems',{params:data})
}

export const getStoreList = (data) => {
    return service.get('/api/h5/mall/malls',{params:data})
}
